package com.peace.hospital.entity.outpatientdept.dto;

import com.peace.hospital.entity.common.Department;
import com.peace.hospital.entity.common.People;
import com.peace.hospital.entity.outpatientdept.Chargingitems;
import com.peace.hospital.entity.outpatientdept.Patientinformation;
import lombok.Data;

@Data
public class RegistrationEntryDto {
    private People people;
    //处方表
    private Chargingitems chargingitems;
    //挂号信息
    private Patientinformation patientinformation;
    //科室表
    private Department department;

    public People getPeople() {
        return people;
    }

    public void setPeople(People people) {
        this.people = people;
    }

    public Chargingitems getChargingitems() {
        return chargingitems;
    }

    public void setChargingitems(Chargingitems chargingitems) {
        this.chargingitems = chargingitems;
    }

    public Patientinformation getPatientinformation() {
        return patientinformation;
    }

    public void setPatientinformation(Patientinformation patientinformation) {
        this.patientinformation = patientinformation;
    }

    public Department getDepartment() {
        return department;
    }

    public void setDepartment(Department department) {
        this.department = department;
    }

    public RegistrationEntryDto() {
    }

    public RegistrationEntryDto(People people, Chargingitems chargingitems, Patientinformation patientinformation, Department department) {
        this.people = people;
        this.chargingitems = chargingitems;
        this.patientinformation = patientinformation;
        this.department = department;
    }

    @Override
    public String toString() {
        return "RegistrationEntryDto{" +
                "people=" + people +
                ", chargingitems=" + chargingitems +
                ", patientinformation=" + patientinformation +
                ", department=" + department +
                '}';
    }
}
